package com.lcc.ioc.demos.web.facade;

public class Main {
    //客户端
    public static void main(String[] args) {
//        HallLight hallLight = new HallLight();
//        hallLight.lightOn();
//        LivingLight livingLight = new LivingLight();
//        livingLight.lightOn();
//        DiningLight diningLight = new DiningLight();
//        diningLight.lightOn();
        FacadePattern facadePattern = new FacadePattern();
        facadePattern.lightOn();
    }
}
